package com.tsky.casing.action;

import com.opensymphony.xwork2.ActionSupport;

/**
 * Struts2的Action操作封装
 * 
 * @author: cainiao
 * @version 1.0
 * @time: 2010-4-21 下午02:48:33
 */
public class BaseAction extends ActionSupport {

	/**
	 * 1. Action method
	 */
	private String command;

	/**
	 * 2. DataGrid
	 */
	private int page;// 当前页
	private int rows;// 分页大小
	private String sort;// 排序字段
	private String order;// 排序方向
	private String qtype;// 快速查询字段
	private String query;// 快速查询字段的值

	public String getCommand() {
		return command;
	}

	public void setCommand(String command) {
		this.command = command;
	}

	public int getPage() {
		return page;
	}

	public void setPage(int page) {
		this.page = page;
	}

	public int getRows() {
		return rows;
	}

	public void setRows(int rows) {
		this.rows = rows;
	}

	public String getSort() {
		return sort;
	}

	public void setSort(String sort) {
		this.sort = sort;
	}

	public String getOrder() {
		return order;
	}

	public void setOrder(String order) {
		this.order = order;
	}

	public String getQtype() {
		return qtype;
	}

	public void setQtype(String qtype) {
		this.qtype = qtype;
	}

	public String getQuery() {
		return query;
	}

	public void setQuery(String query) {
		this.query = query;
	}

}
